package com.ms.service.module.msrobot.contaniner;

import java.util.HashMap;

/**
 * 小樂基礎設定
 * @author TW15012
 *
 */
public class RobotBasicSetting 
{
	
	private static RobotBasicSetting instance;
	
	HashMap<String ,RobotShiftSetting> shfit;
	
	HashMap<String,HashMap<String,RobotStyleSetting>> styles;
	
	HashMap<String,RobotTaskSetting> tasklist;
	
	private int totalworker;
	
	private int totalricher;
	
	private int mindietime;
	
	private int maxdietime;
	
	private int moringshiftrate;
	
	private int middleshiftrate;
	
	private int nightshiftrate;
	
	private int noneshiftrate;
	
	private int tononeshifterate;
	
	private int perworkers;
	
	/**
	 * 總有錢人數
	 * @return
	 */
	public int getTotalricher() {
		return totalricher;
	}

	public void setTotalricher(int totalricher) {
		this.totalricher = totalricher;
	}

	
	/**
	 * 每次派遺小樂人數
	 * @return
	 */
	public int getPerworkers() {
		return perworkers;
	}

	public void setPerworkers(int perworkers) {
		this.perworkers = perworkers;
	}

	/**
	 * 進入無班表機率
	 * @return
	 */
	public int getTononeshifterate() {
		return tononeshifterate;
	}

	public void setTononeshifterate(int tononeshifterate) {
		this.tononeshifterate = tononeshifterate;
	}

	/**
	 * 班表小樂比列 - 無班
	 * @return
	 */
	public int getNoneshiftrate() {
		return noneshiftrate;
	}

	public void setNoneshiftrate(int noneworkerrate) {
		this.noneshiftrate = noneworkerrate;
	}

	/**
	 * 班表小樂比列 - 早班
	 * @return
	 */
	public int getMoringshiftrate() {
		return moringshiftrate;
	}

	public void setMoringshiftrate(int moringworkerrate) {
		this.moringshiftrate = moringworkerrate;
	}

	/**
	 * 班表小樂比列 - 中班
	 * @return
	 */
	public int getMiddleshiftrate() {
		return middleshiftrate;
	}

	public void setMiddleshiftrate(int moddieworkerrate) {
		this.middleshiftrate = moddieworkerrate;
	}

	/**
	 * 班表小樂比列 - 晚班
	 * @return
	 */
	public int getNightshiftrate() {
		return nightshiftrate;
	}

	public void setNightshiftrate(int nightworkerrate) {
		this.nightshiftrate = nightworkerrate;
	}

	/**
	 * 小樂存活時間 - 最小值(day)
	 * @return
	 */
	public int getMindietime() {
		return mindietime;
	}

	public void setMindietime(int mindietime) {
		this.mindietime = mindietime;
	}

	/**
	 * 小樂存活時間 - 最大值(day)
	 * @return
	 */
	public int getMaxdietime() {
		return maxdietime;
	}

	public void setMaxdietime(int maxdietime) {
		this.maxdietime = maxdietime;
	}

	/**
	 * 任務列表
	 * @return
	 */
	public HashMap<String, RobotTaskSetting> getTasklist() 
	{
		return tasklist;
	}

	public void setTasklist(HashMap<String, RobotTaskSetting> tasklist) {
		this.tasklist = tasklist;
	}
	
	/**
	 * 機器人個性
	 * @return
	 */
	public HashMap<String, HashMap<String, RobotStyleSetting>> getStyles() {
		return styles;
	}

	public void setStyles(HashMap<String, HashMap<String, RobotStyleSetting>> styles) {
		this.styles = styles;
	}
	
	
	/**
	 * 總上班人數
	 * @return
	 */
	public int getTotalworker() {
		return totalworker;
	}

	public void setTotalworker(int totalworker) {
		this.totalworker = totalworker;
	}

	/**
	 * 機器人排表設定
	 * @return
	 */
	public HashMap<String, RobotShiftSetting> getShfit() 
	{
		return shfit;
	}

	public void setShfit(HashMap<String, RobotShiftSetting> shfit) {
		this.shfit = shfit;
	}

	public static RobotBasicSetting getInstance() {
		return instance;
	}

	public static void setInstance(RobotBasicSetting instance) {
		RobotBasicSetting.instance = instance;
	}
	
	
}
